Gets the width of the formatted content. The method must be called before calling this method. This method can also be called after the formatted content has been drawn on the page.
Syntax
publicdouble getWidth()
Return Value
The actual width of the formatted content after is has been wrapped at a given width.